package com.hao.nettyrpc.registry;

import java.net.InetSocketAddress;

/**
 * @author haoge
 * @version 1.0
 * @date 2023/4/11 21:48
 */
public interface ServiceDiscovery {
    /*
    * 根据服务名称查找服务实体
    * */
    InetSocketAddress lookupService(String serviceName);
}
